/*
 * Copyright 2008 Federal Emergency Management Agency
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); 
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 *    http://www.apache.org/licenses/LICENSE-2.0 
 *    
 * Unless required by applicable law or agreed to in writing, software 
 * distributed under the License is distributed on an "AS IS" BASIS, 
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and 
 * limitations under the License. 
 *  
 */
package gov.fema.hazus.bdc.client.hazards.flood.hazard;

import com.google.gwt.core.client.GWT;

import gov.fema.hazus.bdc.client.common.ui.AbstractClassificationSchemeListBox;
import gov.fema.hazus.bdc.client.hazards.flood.FloodConstants;

public class FloodHazardZoneListBox extends AbstractClassificationSchemeListBox {

	private FloodConstants constants;

	public FloodHazardZoneListBox()
	{
		
		constants = (FloodConstants)GWT.create(FloodConstants.class);
		
		// add all of the items, if null, set to unknown
		this.addItem(constants.schemaFloodHazardZoneUNKNOWN(), "999 = Unknown");
		
		this.addItem(constants.schemaFloodHazardZoneA1A30(), "1 = A1 - A30");
		this.addItem(constants.schemaFloodHazardZoneAE(), "2 = AE");
		this.addItem(constants.schemaFloodHazardZoneAH(), "3 = AH");
		this.addItem(constants.schemaFloodHazardZoneABFE1(), "4 = A (with BFE)");
		this.addItem(constants.schemaFloodHazardZoneABFE2(), "5 = A (without BFE)");
		this.addItem(constants.schemaFloodHazardZoneAO(), "6 = AO");
		this.addItem(constants.schemaFloodHazardZoneAR(), "7 = AR");
		this.addItem(constants.schemaFloodHazardZoneARA(), "8 = AR/A");
		this.addItem(constants.schemaFloodHazardZoneARA1A30(), "90 = AR/A1 - A30");
		this.addItem(constants.schemaFloodHazardZoneARAE(), "9 = AR/AE");
		this.addItem(constants.schemaFloodHazardZoneARAH(), "91 = AR/AH");
		this.addItem(constants.schemaFloodHazardZoneARAO(), "92 = AR/AO");
		this.addItem(constants.schemaFloodHazardZoneVE(), "93 = VE");
		this.addItem(constants.schemaFloodHazardZoneV1V30(), "94 = V1 - V30");
		this.addItem(constants.schemaFloodHazardZoneVBFE1(), "95 = V (with BFE)");
		this.addItem(constants.schemaFloodHazardZoneB(), "96 = B");
		this.addItem(constants.schemaFloodHazardZoneC(), "97 = C");
		this.addItem(constants.schemaFloodHazardZoneD(), "98 = D");
		this.addItem(constants.schemaFloodHazardZoneX1(), "99 = X (shaded)");
		this.addItem(constants.schemaFloodHazardZoneX2(), "991 = X (un-shaded)");
		this.addItem(constants.schemaFloodHazardZoneX3(), "992 = X500");
		
		
	}
}
